home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Hyper / D / DataChef v1.3.sit / DataChef v1.3 / background_2766.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-11-22  |  8.0 KB  |  252 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2766</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3777.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3092.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <true /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>40</left>
  23.             <top>7</top>
  24.             <right>468</right>
  25.             <bottom>35</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>16</textSize>
  38.         <textStyle>outline</textStyle>
  39.         <textStyle>italic</textStyle>
  40.         <textStyle>bold</textStyle>
  41.         <textHeight>21</textHeight>
  42.         <name>Recipe</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>field</type>
  48.         <visible> <true /> </visible>
  49.         <dontWrap> <false /> </dontWrap>
  50.         <dontSearch> <false /> </dontSearch>
  51.         <sharedText> <false /> </sharedText>
  52.         <fixedLineHeight> <false /> </fixedLineHeight>
  53.         <autoTab> <false /> </autoTab>
  54.         <lockText> <true /> </lockText>
  55.         <rect>
  56.             <left>40</left>
  57.             <top>63</top>
  58.             <right>468</right>
  59.             <bottom>163</bottom>
  60.         </rect>
  61.         <style>scrolling</style>
  62.         <autoSelect> <false /> </autoSelect>
  63.         <showLines> <false /> </showLines>
  64.         <wideMargins> <false /> </wideMargins>
  65.         <multipleLines> <false /> </multipleLines>
  66.         <reservedFamily> 0 </reservedFamily>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>left</textAlign>
  70.         <font>Geneva</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>bold</textStyle>
  73.         <textHeight>16</textHeight>
  74.         <name>Ingredients</name>
  75.         <script></script>
  76.     </part>
  77.     <part>
  78.         <id>3</id>
  79.         <type>field</type>
  80.         <visible> <true /> </visible>
  81.         <dontWrap> <false /> </dontWrap>
  82.         <dontSearch> <true /> </dontSearch>
  83.         <sharedText> <false /> </sharedText>
  84.         <fixedLineHeight> <false /> </fixedLineHeight>
  85.         <autoTab> <false /> </autoTab>
  86.         <lockText> <true /> </lockText>
  87.         <rect>
  88.             <left>40</left>
  89.             <top>182</top>
  90.             <right>468</right>
  91.             <bottom>297</bottom>
  92.         </rect>
  93.         <style>scrolling</style>
  94.         <autoSelect> <false /> </autoSelect>
  95.         <showLines> <false /> </showLines>
  96.         <wideMargins> <false /> </wideMargins>
  97.         <multipleLines> <false /> </multipleLines>
  98.         <reservedFamily> 0 </reservedFamily>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>left</textAlign>
  102.         <font>Geneva</font>
  103.         <textSize>12</textSize>
  104.         <textStyle>bold</textStyle>
  105.         <textHeight>16</textHeight>
  106.         <name>Procedure</name>
  107.         <script></script>
  108.     </part>
  109.     <part>
  110.         <id>4</id>
  111.         <type>field</type>
  112.         <visible> <true /> </visible>
  113.         <dontWrap> <false /> </dontWrap>
  114.         <dontSearch> <true /> </dontSearch>
  115.         <sharedText> <true /> </sharedText>
  116.         <fixedLineHeight> <false /> </fixedLineHeight>
  117.         <autoTab> <false /> </autoTab>
  118.         <lockText> <true /> </lockText>
  119.         <rect>
  120.             <left>210</left>
  121.             <top>39</top>
  122.             <right>291</right>
  123.             <bottom>56</bottom>
  124.         </rect>
  125.         <style>transparent</style>
  126.         <autoSelect> <false /> </autoSelect>
  127.         <showLines> <false /> </showLines>
  128.         <wideMargins> <false /> </wideMargins>
  129.         <multipleLines> <false /> </multipleLines>
  130.         <reservedFamily> 0 </reservedFamily>
  131.         <titleWidth>0</titleWidth>
  132.         <icon>0</icon>
  133.         <textAlign>center</textAlign>
  134.         <font>Geneva</font>
  135.         <textSize>9</textSize>
  136.         <textStyle>outline</textStyle>
  137.         <textStyle>bold</textStyle>
  138.         <textHeight>12</textHeight>
  139.         <name></name>
  140.         <script></script>
  141.     </part>
  142.     <part>
  143.         <id>6</id>
  144.         <type>field</type>
  145.         <visible> <true /> </visible>
  146.         <dontWrap> <false /> </dontWrap>
  147.         <dontSearch> <false /> </dontSearch>
  148.         <sharedText> <true /> </sharedText>
  149.         <fixedLineHeight> <false /> </fixedLineHeight>
  150.         <autoTab> <false /> </autoTab>
  151.         <lockText> <true /> </lockText>
  152.         <rect>
  153.             <left>210</left>
  154.             <top>165</top>
  155.             <right>291</right>
  156.             <bottom>182</bottom>
  157.         </rect>
  158.         <style>transparent</style>
  159.         <autoSelect> <false /> </autoSelect>
  160.         <showLines> <false /> </showLines>
  161.         <wideMargins> <false /> </wideMargins>
  162.         <multipleLines> <false /> </multipleLines>
  163.         <reservedFamily> 0 </reservedFamily>
  164.         <titleWidth>0</titleWidth>
  165.         <icon>0</icon>
  166.         <textAlign>center</textAlign>
  167.         <font>Geneva</font>
  168.         <textSize>9</textSize>
  169.         <textStyle>outline</textStyle>
  170.         <textStyle>bold</textStyle>
  171.         <textHeight>12</textHeight>
  172.         <name></name>
  173.         <script></script>
  174.     </part>
  175.     <part>
  176.         <id>8</id>
  177.         <type>button</type>
  178.         <visible> <true /> </visible>
  179.         <reserved5> 0 </reserved5>
  180.         <reserved4> 0 </reserved4>
  181.         <reserved3> 0 </reserved3>
  182.         <reserved2> 0 </reserved2>
  183.         <reserved1> 0 </reserved1>
  184.         <enabled> <true /> </enabled>
  185.         <rect>
  186.             <left>210</left>
  187.             <top>306</top>
  188.             <right>467</right>
  189.             <bottom>328</bottom>
  190.         </rect>
  191.         <style>radiobutton</style>
  192.         <showName> <true /> </showName>
  193.         <highlight> <true /> </highlight>
  194.         <autoHighlight> <false /> </autoHighlight>
  195.         <sharedHighlight> <true /> </sharedHighlight>
  196.         <family>0</family>
  197.         <titleWidth>0</titleWidth>
  198.         <icon>0</icon>
  199.         <textAlign>center</textAlign>
  200.         <font>Geneva</font>
  201.         <textSize>9</textSize>
  202.         <textStyle>outline</textStyle>
  203.         <textStyle>bold</textStyle>
  204.         <name>Table of Contents</name>
  205.         <script>on mouseUp
  206. lock screen
  207. play "flute" "c"
  208. go cd short name of me
  209. lockTextFields--per TLB
  210. unlock screen with visual effect wipe left
  211. end mouseUp</script>
  212.     </part>
  213.     <part>
  214.         <id>10</id>
  215.         <type>button</type>
  216.         <visible> <true /> </visible>
  217.         <reserved5> 0 </reserved5>
  218.         <reserved4> 0 </reserved4>
  219.         <reserved3> 0 </reserved3>
  220.         <reserved2> 0 </reserved2>
  221.         <reserved1> 0 </reserved1>
  222.         <enabled> <true /> </enabled>
  223.         <rect>
  224.             <left>38</left>
  225.             <top>36</top>
  226.             <right>104</right>
  227.             <bottom>58</bottom>
  228.         </rect>
  229.         <style>radiobutton</style>
  230.         <showName> <true /> </showName>
  231.         <highlight> <true /> </highlight>
  232.         <autoHighlight> <false /> </autoHighlight>
  233.         <sharedHighlight> <true /> </sharedHighlight>
  234.         <family>0</family>
  235.         <titleWidth>0</titleWidth>
  236.         <icon>0</icon>
  237.         <textAlign>center</textAlign>
  238.         <font>Geneva</font>
  239.         <textSize>9</textSize>
  240.         <textStyle>outline</textStyle>
  241.         <textStyle>bold</textStyle>
  242.         <name>Print</name>
  243.         <script>on mouseUp
  244. global printThis
  245. play "harpsichord" "e"
  246. doMenu "Page Setup..."
  247. put bg fld "Recipe" into printThis
  248. clearReturns
  249. put return & return & bg fld "Ingredients" after printThis
  250. clearReturns
  251. put return & return & bg fld "Procedure" after printThis
  252. clearReturns
  253. print printThis
  254. put empty into printThis
  255. end mouseUp
  256.  
  257. on clearReturns
  258. global printThis
  259. repeat
  260. if last char of printThis is return then delete last char of printThis
  261. if last char of printThis is not return then exit repeat
  262. end repeat
  263. end clearReturns
  264. </script>
  265.     </part>
  266.     <content>
  267.         <layer>background</layer>
  268.         <id>4</id>
  269.         <text>Ingredients</text>
  270.     </content>
  271.     <content>
  272.         <layer>background</layer>
  273.         <id>6</id>
  274.         <text>Procedure</text>
  275.     </content>
  276.     <name></name>
  277.     <script>on openCard
  278. global buttonName
  279. set the name of bg button id 8 to buttonName
  280. create menu "Edit"
  281. put "Open Stack..." after menu "Edit"
  282. set cmdChar of menuItem "Open Stack..." of menu "Edit" to "O"
  283. put "-" after menu "Edit"
  284. put "Undo" after menu "Edit"
  285. set cmdChar of menuItem "Undo" of menu "Edit" to "Z"
  286. put "-" after menu "Edit"
  287. put "Cut Text" after menu "Edit"
  288. set cmdChar of menuItem "Cut Text" of menu "Edit" to "X"
  289. put "Copy Text" after menu "Edit"
  290. set cmdChar of menuItem "Copy Text" of menu "Edit" to "C"
  291. put "Paste Text" after menu "Edit"
  292. set cmdChar of menuItem "Paste Text" of menu "Edit" to "V"
  293. put "Clear" after menu "Edit"
  294. put "-" after menu "Edit"
  295. put "Unlock Text Fields" after menu "Edit" with menuMessage "unlockTextFields"
  296. put "Lock Text Fields" after menu "Edit" with menuMessage "lockTextFields"
  297. end openCard
  298.  
  299. on closeCard
  300. delete menu "Edit"
  301. end closeCard</script>
  302. </background>
  303.